inherited CalcRuleDlg: TCalcRuleDlg
  Caption = #35745#31639#35268#21017
  ClientHeight = 515
  ClientWidth = 832
  Position = poMainFormCenter
  WindowState = wsMaximized
  ExplicitWidth = 840
  ExplicitHeight = 549
  PixelsPerInch = 96
  TextHeight = 15
  object dbgrdhCalc: TDBGridEh
    AlignWithMargins = True
    Left = 3
    Top = 43
    Width = 260
    Height = 469
    Align = alLeft
    DataGrouping.GroupLevels = <>
    DataSource = dsCalcRule
    EvenRowColor = clSilver
    Flat = False
    FooterColor = clWindow
    FooterFont.Charset = GB2312_CHARSET
    FooterFont.Color = clWindowText
    FooterFont.Height = -15
    FooterFont.Name = #23435#20307
    FooterFont.Style = []
    RowDetailPanel.Color = clBtnFace
    TabOrder = 0
    TitleFont.Charset = GB2312_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -15
    TitleFont.Name = #23435#20307
    TitleFont.Style = []
    Columns = <
      item
        EditButtons = <>
        FieldName = 'CARU_NAME'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #35268#21017#21517#31216
        Width = 127
      end
      item
        EditButtons = <>
        FieldName = 'CARU_NOTE'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #22791#27880
        Width = 81
      end>
    object RowDetailData: TRowDetailPanelControlEh
    end
  end
  object dbgrdhCalcItem: TDBGridEh
    AlignWithMargins = True
    Left = 269
    Top = 43
    Width = 560
    Height = 469
    Align = alClient
    AllowedOperations = [alopUpdateEh]
    DataGrouping.GroupLevels = <>
    DataSource = dsCalcRuleItem
    EvenRowColor = clSilver
    Flat = False
    FooterColor = clWindow
    FooterFont.Charset = GB2312_CHARSET
    FooterFont.Color = clWindowText
    FooterFont.Height = -15
    FooterFont.Name = #23435#20307
    FooterFont.Style = []
    RowDetailPanel.Color = clBtnFace
    TabOrder = 2
    TitleFont.Charset = GB2312_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -15
    TitleFont.Name = #23435#20307
    TitleFont.Style = []
    Columns = <
      item
        EditButtons = <>
        FieldName = 'CAIT_CODE'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #20195#30721
        Width = 62
      end
      item
        EditButtons = <>
        FieldName = 'CAIT_NAME'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #26631#39064#21517#31216
        Width = 94
      end
      item
        EditButtons = <>
        FieldName = 'CAIT_SIZE'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #21015#23485
        Width = 63
      end
      item
        Checkboxes = True
        EditButtons = <>
        FieldName = 'CAIT_HASVISIBLE'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #26174#31034#21015
        Width = 74
      end
      item
        EditButtons = <>
        FieldName = 'CAIT_EXPRESSION'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #35745#31639#34920#36798#24335
        Width = 279
      end
      item
        EditButtons = <>
        FieldName = 'CAIT_READONLY'
        Footers = <>
        Title.Caption = #21482#35835
      end
      item
        EditButtons = <>
        FieldName = 'CAIT_NOTE'
        Footers = <>
        Title.Alignment = taCenter
        Title.Caption = #22791#27880
        Width = 74
      end
      item
        EditButtons = <>
        FieldName = 'CAIT_SORT'
        Footers = <>
        Title.Caption = #25490#24207#21495
      end>
    object RowDetailData: TRowDetailPanelControlEh
    end
  end
  object pnlBottom: TPanel
    Left = 0
    Top = 0
    Width = 832
    Height = 40
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 1
    object lbl1: TLabel
      Left = 255
      Top = 12
      Width = 546
      Height = 15
      Caption = ' '#25554#20837' = Atl+Insert  '#65307#22686#21152'='#28966#28857#31227#21040#26368#22909'+'#21521#19979#38190#65307' '#31105#29992#21024#38500#65307#26597#35810'=Ctrl+F '
    end
    object BitBtn1: TBitBtn
      Left = 13
      Top = 6
      Width = 115
      Height = 29
      Caption = #30830#23450
      DoubleBuffered = True
      Kind = bkOK
      NumGlyphs = 2
      ParentDoubleBuffered = False
      TabOrder = 0
    end
    object btnCancle: TBitBtn
      Left = 132
      Top = 6
      Width = 115
      Height = 29
      Caption = #21462#28040
      DoubleBuffered = True
      Kind = bkCancel
      NumGlyphs = 2
      ParentDoubleBuffered = False
      TabOrder = 1
    end
    object scrntpsp1: TScreenTipsPopup
      Left = 802
      Top = 12
      Width = 16
      Height = 16
      Glyph.Data = {
        07544269746D617036040000424D360400000000000036000000280000001000
        0000100000000100200000000000000400000000000000000000000000000000
        0000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF000000000000000000FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00848484008484840084848400848484008484
        8400848484000000000000FFFF000000000084848400FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF0000000000000000000000000000000000000000000000
        000000000000FFFFFF00FFFFFF00000000000000000084848400FF00FF00FF00
        FF00FF00FF0000000000FFFFFF00FFFFFF00FFFFFF0000FFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF0000FFFF00FFFFFF00FFFFFF00000000008400
        000084000000FFFFFF00FFFFFF0000FFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF00FFFFFF00FFFFFF0000FFFF00FFFFFF00FFFF
        FF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF008400
        000084848400FFFFFF00FFFFFF0000FFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF00FFFFFF00FFFFFF0000FFFF00FFFFFF008484
        840084000000FF00FF00FFFFFF00FFFFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF0000FF
        FF0084848400840000008484840000FFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF00FFFFFF00FFFFFF008400000084848400FFFF
        FF00FFFFFF008400000084000000FFFFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF0000FFFF00FFFFFF00840000008400000000FF
        FF00FF00FF00840000008400000000FFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF00FFFFFF00FFFFFF00FF00FF00840000008400
        00008400000084000000FF00FF00FFFFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF0000FF
        FF00FFFFFF00FFFFFF00FFFFFF0000FFFF00FFFFFF000000000084848400FF00
        FF00FF00FF0000000000FFFFFF00FFFFFF00FFFFFF0000FFFF00FFFFFF00FFFF
        FF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF0000000000FF00FF00FF00
        FF00FF00FF00FF00FF0000000000000000000000000000000000000000000000
        00000000000000000000000000000000000000000000FF00FF00FF00FF00FF00
        FF00}
      PopupType = ptCustom
      ScreenTip.Description.Strings = (
        'SFGZ:'#23454#21457#24037#36164#12290
        #34920#36798#24335#26159#20174#19978#21040#19979#30340#35745#31639#12290)
      ScreenTip.Header = #35745#31639#35268#21017#34920#36798#24335#35828#26126
      ScreenTip.Image.Data = {
        0954506E67496D61676589504E470D0A1A0A0000000D49484452000000300000
        003008060000005702F9870000001974455874536F6674776172650041646F62
        6520496D616765526561647971C9653C00000CC54944415478DAED997B5054E7
        15C00FCB430115509E3EC2222288A8ABD1C4769A866833491A638C6D67D2D8B4
        A4D68ED3342DD3C91F6D27ADE49F4EA731639E0D11E5E103169157344D6B6276
        79230A2CBE40E41940DE2CCB539EDB73CEBDDF7A7759603BB1753A938F397CF7
        7EF7EEBDE7F79DC777BE5D27B3D90CFFCFCDE91B806F00BE268038F8F9FE5FAA
        9D9C9C8EE0A1374A1382E561AF4F3C7EB4E9412B392FC05FFEFAB718639FF1C8
        C8C888F7E8E8A8D50D0842007A942A1443526282FE412B6D05907E364B8D7DA3
        182080BEDE3E945EE8EDEB85D191517B9F33201A8155A107E23134A5241F373C
        288068EC75EAE087E091AD0FF36077770F74F5F460DF0D6D77DA19666060007A
        7B25205B2B49CD8CD6827E090E08AE1905CFCD0C76222549FF5F01D066646AB0
        AF8C8A5C072B960781C1204DA45AAD66A1D6DF6F02A3A99F7B922E0423A81186
        1961B089890918300DCCFF46B35940820214F1F9B8491E379C3A99DCEF1000FD
        430833012C5BEA03C9C9C970F7EE5DBEF8F4D34F5B8EBDBDBD5904D4F0C8080C
        0F8FB095C651F9FEFE7E3EEF379910C424010D4840BD3DBDDCF3F8E484D26836
        36B43A7BE5F4A913C90E01A49D396BF6F4F48047B76D057F3F3FE8E8E880A6A6
        26D06834101F1FCFCA295B606020C3504F42500B172EB45CA7FB252893056E7C
        7CC2722C59CBC4F7D2B149B6DC284E4A47473B8F218D2135F5E46647018C20A5
        4FF0F6F282107530F8FBFB818F370FB1150414294042C7A2454444F03D342EC0
        C87AB33502A9A8AC8296EA1A88D26680EBE85D18581104C6D0D5D0161E06172F
        7CCE964A4B3DE504F334BE21353D43E7E6EA1AFDD877BECD8346633FFB39F59E
        9E9E16181F6F2F3E178DA04871529A62474091355E7CF1C5395FDCD5D50D15C7
        9260C7C35BC08CAE463279A31A3E0F0B858B376FA2DBF580567BDA3180D3DA33
        BA007FBFE89D4F44CFB8617878188C38B3460ADEAE2E18423F27775BE4E1C9BD
        BFBF3FB8B9B95AACE568EB24808444D87EFE33F029D13340FF53BBA174D733F0
        A5C9085F7DF5159C494F730CE0545A7A7680BFFF9EEFED88E69914BE3D9F0204
        4742C7E3E3E3E81AE3B0C8D393AD44B20801A5DED3CA72C2CA0589C9B0A3AD1D
        5CD6AF0397ED8FC2584616E4B93843C9C418DCAAA9818C335A070152B5713893
        879EDCF904BCF3CE3BECCBE40622958A4075A411D01059CDD8CF507D460A5AB9
        C7F380007FCE36E27A00BACDCAF24A8E8309F78570F5477BE17A7313DCC2F838
        7B36DD318013A7D3E270960EBDF0FC733C28025619B8D4E2E2E240AFD7339CB0
        9232FBD836DB4291CE19706898AD451066197A58406380D3ECDFAAAEA66B9BB3
        3233E65CE11920E5546A2C76477EBAEFC7766F125988ACA0D56AF958405100C7
        C6C632183501151C1C3C2B8C38963AB3557F51A78782FC7C86989A9ADA999B9B
        9D07D212211E60352B0C907CF2743476BA9FFDE425568414A4D4480A7BCF129C
        028A9A00232831269A70BD80800006F3C2344DCF242D30EE600159103537CB44
        D7AEDF40D7C9841A04E837F6BDA0D7EB8AF0CA14CA24CAB8DC4F091006483A71
        8A01763FFB7DCC349D1CC8F40031A32206E6025236AA95448A157D676727CF3C
        F562755736B2D84BFBF6C1B56BD741A7CF83A28202A8AFAF7BFDFAF56B957899
        966F2AC00681EB2BA0956F0C659A0112534EAA91A7F199A79E4465032C0F25FF
        570A35E1FF02C63663D9F3FB99AE6396E13A7922E99864C3860D50DFD808E7CF
        FD038A0A0B0095FFA0A1A1BE569EF1315971FA508BDCDFB544F9F1A414F3CE1D
        4FA059FDD815ECA5519A4DA508A8989818B6988893050B16F0E7BDBCA87EF29A
        D7EF957D476717A469D3A1B8B0109F599D76FB766D8DEC2ED3B20B51D5508742
        E33D168084C464F316CD26F0C05446FE4CB34B71206261B6463347562100F65B
        390E946E42D70F1C3820F9BEC20AA217FE4F431DE8626969E96C81F6F63B7915
        15E57AC5EBA66557A2FD0B65A7160BC0D163498D5B366BD40F6FD1B002A23450
        06AA526C9B3DD75182908FDB53DE16A21DDD2A354DCB162080CACA0ABDCDABE8
        8164FA0A94660B407CC2715D78585874F4E38F59DD2D0A3721227D1E3C78D052
        D8518651AE098EA64CA9B7B540079CC9C8843C9D0E01DAF30C062B00B36C817A
        140AEE560BC0471F1FD32D0F0A8CDEFDDCB396BB4D589F0C0C0CC2F4F4346F76
        5C5C5C2C9985142E2D2D654B092811E022558AD4493DC585455185C202864765
        0BFCF35F9FC3B9DC6C7A0F0254DABA1065A25B20EDD13B2D001FC61F4D5A1114
        14F3FCEE5D7CAED3E7C3E0D0102B430094B323D7855BBB89AC88801216696E6E
        E699A55ED90418352A02B76DDB064B9678DDB3043EB0B7AF0F72CF9D87733939
        98723BF2AAAA0C4A00CA46B43BBA8E7203C56801F8E0EFF1716E6E0B0E1DD81F
        032DAD6D507AA90C1FBE845F483B2B5AEABFB5FD11F0F3F5A515925FA852A9A0
        E6562DD7394B7DBC614D682857A6024CB8900404A490252668ECD95DBBC00BDF
        A1B4001D2726A7A0057271328C86CB97CB7215009485EEC8014C9968D802F0DE
        071FC56177E8B5570F42D9957258B27831787878809393133463694B399B8A2F
        DAFCAB544EB074E952E8EB33E2D6729441686B3986CA512AF6F55D263D143FAB
        4271D4FFCDF2D8F1C41438FF490EEEB9479A8A8B8B5214061F416990015A09C8
        02F0EEFB1FC6E067937EFBDAAFA0B5AD8D6799942725A6A7A6E14A79396F11C9
        12A430592628281082028378756DC3CF10C4D0E020ECDFFF0ABFCDC3DD1DDC51
        9C9D9DF939F6FDDF3CC30209C793E0D34F72616474A4A9A4A4580090FB50B0DD
        945DA887C62C0047DE7D3F9A5CFF877B5F40D7598C6E616400016142E5A94E21
        65C932CB972F87CD9A8D1CD8045B53530B656565E0E9E10E6BD6845AFC3C2868
        392F662E2EAE32C3CC59B7B540026E740AF2B9266B2A2D2D1100E43EED72F0DE
        26F701514AC8003ACC18D11B374481E7A245BCDB72C1995342F031FE1911CECB
        6B09B8B8BAF2B974D9091AB00C28C2FC3D3539C9560A44EB444484434848082C
        C267D23D73292F8E3F3E7A0C4A4B8AA1B5A5A5E95259698AEC3EC372FA248036
        19C8CC006FBD7D2406D35C92D849F9F8F8C0EA10359B5E0280191056E332446B
        6B2BE46467F3B70A6E6E6EB072E54A888ADA0061616B60F1E2251C3B73292E2C
        90989402F95815B7B5B53695955D2200AA40FB64D7211732CA2E2555A398B61A
        C7C6C6D5E40EA474D89A505640CCFE3D81D9215092708BD8D17E0773FF029E84
        F0F070888C5C8F6E1484EB809BFCBA7B7E3F5B0CE4E49E83ECAC4CFEF22CBF20
        8F920BA5AE16B8F7ADDFA8C8E24E376E56D3B7D28D33959D4D14D65040343434
        426A6A1AD6F046F0F3F385D5AB4360D3A64D5C4B513A269712D9D5DEAC2BCF73
        723E81EC4C04E8EB8582C2823FCBC15B235BA05BB68894E8AEDFB8198D1AE854
        F3285E5F5F0FB8A84060402068366B7851B206C18AF658225CB97205DD6531A8
        D1EF2323D73104ED83DD305E24979441EC282ECEB3B273D102590C505454F87B
        D9E7AFC92974585E912500CC2C1A54A452E46C7BCA53462A2A2A06436525BB08
        29F80BAC2ED7AF8FB48220C8C36F1D669721000A5E5F5CF83C3DDD71A1F3011F
        5C3B28ADB23566B300FECBCCCA81BC3C3DD4DFBE0DC52545BF964B876A942E90
        363796C6318010B1A8C8E3287BEC01D0BA50557595677D10F37C0FE67B5AC8F6
        EEDD639DA5E40C854518EFCA5C5DDD38C5B6B434C32A0CE8B0B56BB12409C0EC
        E56259A56D4148CE66667310D7D7DD8692D2921FC8CAB7C80BD9F40C0065BB51
        5DBD0715C956024C625A2CAFA8C09973E6058C2C4020516C01980121E28294D1
        E71540F9E53288581781A5C87658B1622582B95A5664695D105690CE33704F9C
        27010C5D2ABBF45D90BEC11E50FAFEAC000C71B33ADBCA1A98FE6826EFDC69E7
        EB5833F197569469E60BEED3A95A5686ACE7EBEB8796F3E18A95F4A5B584025C
        D25C4A2B269389DE0FCD8D0D6DC5C585AF363636162A94373B04F0C5973A4D50
        6060A5952BA96CD3A76319EAADC387E3AE949535070406A956AD5A15B270A1FB
        14B9ABE275F4FB84B7BC6F3061E57B15A5A5B030FF4FB89875C92974CA9EF2B3
        025C2ABB4C8B5ACC0C055536E73630DDDD5DC6BABA3ADDDAB5E1CECB962D5B8A
        C16A7C68D5CA7DF26327649906FBCD4916957C2EF6C173FE8C3A03C070F59A1A
        67A3515946CC0921838C8D8D81364D3BFAE69B875EC6C7948354F64ED83CFEBE
        FFA63B13A0EAAA06B562F751D92A0EB3437CF6E967BCE5ECE9E97E3B3939E95D
        7C54871D80FBDEECBA5045A54183E6CF7152A982090253629DEEE2177F080808
        AC8DDAB8311CABD1979D5D9C9F53020CE2A6270717200CEC8BB1B1BFA1EF28A9
        5E99FCCFD4B94F00D4300E7CB01E8A9B9A9E5A93F051FCEB5F5CB8505FDFDC34
        2EAED7D4D69295342A459157555905D5D5D5BBDF78E38F1740AE161F188068A1
        C16A0A2A332A6FA50C6E25D5F86982F016AE862BF67B8F6CDDFA3B7020F8FE67
        00733584A0B50263060C931313FAF591910EFD347A3FDBBF01C165EDB0DF5937
        FA0000000049454E44AE426082}
      ScreenTip.ShowImage = True
      ScreenTipManager = DataM.scrntpsmngrHelp
    end
  end
  object adsCalcRule: TADODataSet
    Connection = DataM.conDB
    AfterPost = adsCalcRuleAfterPost
    BeforeDelete = adsCalcRuleBeforeDelete
    AfterScroll = adsCalcRuleAfterScroll
    OnNewRecord = adsCalcRuleNewRecord
    CommandText = 'select * from TB_CALCRULE where CARU_HASTEMPLATE=False'
    CommandType = cmdTableDirect
    Parameters = <>
    Left = 136
    Top = 232
  end
  object adsCalcRuleItem: TADODataSet
    Connection = DataM.conDB
    BeforePost = adsCalcRuleItemBeforePost
    OnNewRecord = adsCalcRuleItemNewRecord
    CommandText = 'select * from TB_CALCRULE_ITEM where CARU_GUID=:CARU_GUID'
    Parameters = <
      item
        Name = 'CARU_GUID'
        Size = -1
        Value = Null
      end>
    Left = 400
    Top = 184
  end
  object dsCalcRule: TDataSource
    DataSet = adsCalcRule
    Left = 136
    Top = 280
  end
  object dsCalcRuleItem: TDataSource
    DataSet = adsCalcRuleItem
    Left = 392
    Top = 240
  end
end
